package by.grsu.na.page;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.link.Link;

import by.grsu.na.page.MyShopPage;
import by.grsu.na.page.sample.ClientsListPage;
import by.grsu.na.page.sample.ProductsListPage;

public class MyShopPage extends WebPage {

	public MyShopPage() {
		super();
		add(new Link("goToProductsPage") {
			@Override
			public void onClick() {
				setResponsePage(new ProductsListPage());
			}
		});
		add(new Link("goToClientsPage") {
			@Override
			public void onClick() {
				setResponsePage(new ClientsListPage());
			}
		});
	}

}
